package com.yinhai.message.manage.register.po;

import com.yinhai.core.service.ta3.domain.po.BasePo;

/**
*短信配置Po
*@author lanyc
*@version created: 2017年4月4日上午11:14:11
*/
public class SmsConfigPo extends BasePo {
	private Long id;
	private String platformName;//平台名称
	private Integer defaultPlatform;//是否是默认平台
	private String serverIp;//服务器Ip
	private Integer serverPort;//服务器端口
	private String mainAccount;//主账号
	private String password;//密码
	private String appName;//应用名称
	
	public SmsConfigPo() {
		super();
	}

	public SmsConfigPo(Long id, String platformName, Integer defaultPlatform, String serverIp, Integer serverPort,
			String mainAccount, String password, String appName) {
		super();
		this.id = id;
		this.platformName = platformName;
		this.defaultPlatform = defaultPlatform;
		this.serverIp = serverIp;
		this.serverPort = serverPort;
		this.mainAccount = mainAccount;
		this.password = password;
		this.appName = appName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getPlatformName() {
		return platformName;
	}

	public void setPlatformName(String platformName) {
		this.platformName = platformName;
	}

	public String getServerIp() {
		return serverIp;
	}

	public void setServerIp(String serverIp) {
		this.serverIp = serverIp;
	}

	public Integer getServerPort() {
		return serverPort;
	}

	public void setServerPort(Integer serverPort) {
		this.serverPort = serverPort;
	}

	public String getMainAccount() {
		return mainAccount;
	}

	public void setMainAccount(String mainAccount) {
		this.mainAccount = mainAccount;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}
	
	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "SmsConfigPo [id=" + id + ", platformName=" + platformName + ", serverIp=" + serverIp + ", serverPort="
				+ serverPort + ", mainAccount=" + mainAccount + ", password=" + password + ", appName=" + appName + "]";
	}

	public Integer getDefaultPlatform() {
		return defaultPlatform;
	}

	public void setDefaultPlatform(Integer defaultPlatform) {
		this.defaultPlatform = defaultPlatform;
	}
	
}
